﻿using Common.Infrastructure;

namespace Base.Data.Entity
{
    /// <summary>
    /// 角色
    /// </summary>
    public class t_role : EntityBase
    {
        [EntityFieldLength(30)]
        public string code { get; set; }

        [EntityFieldLength(60)]
        public string name { get; set; }


        /// <summary>
        /// 平台类型
        ///  Web = 0,
        ////Client = 1,
        ////App = 2,
        ////Winform = 3,
        ////Operate = 4
        /// </summary>
        public int platform_type { get; set; }
        /// <summary>
        /// 角色类型 
        /// 0-普通
        /// 1-管理员
        /// </summary>
        public int role_type { get; set; }
        public int enable_status { get; set; }

        /// <summary>
        /// BaseRoleOrgFilterTypeEnum
        /// </summary>
        public int filter_org_type { get; set; }
        public string remark { get; set; }
    }
}
